﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace SDE_FIC.Models
{
    [Serializable]
    public class Turma
    {
        
        public Turma()
        {
            this.Matriculas = new HashSet<Matricula>();
            this.Diario = new HashSet<Diario>();
        }
    
        public int Idturma { get; set; }
        public string Descricao { get; set; }
        public string Horario { get; set; }
        [Display(Name = "Data de Início")]
        [DataType(DataType.DateTime)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public Nullable<System.DateTime> DataInicio { get; set; }
        [Display(Name = "Data de Fim")]
        [DataType(DataType.DateTime)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public Nullable<System.DateTime> DataFim { get; set; }
        public bool Status { get; set; }
        public bool Domingo { get; set; }
        public bool Segunda { get; set; }
        public bool Terca { get; set; }
        public bool Quarta { get; set; }
        public bool Quinta { get; set; }
        public bool Sexta { get; set; }
        public bool Sabado { get; set; } 
        public Curso Curso { get; set; }
        public virtual ICollection<Matricula> Matriculas { get; set; }
        public virtual Funcionario Funcionario { get; set; }
        public virtual ICollection<Diario> Diario { get; set; }
    }
}